#ifndef SERVER_H_
#define SERVER_H_

#include <data_base.h>
#include <stdbool.h>
#include <stddef.h>

bool server_connectDataBase(const char* hostName, unsigned int port,const char* user, const char* password, const char* data_base);
size_t server_search(Registry search,Registry** result);
void server_insert(Registry *reg);
void server_remove(Registry *reg);
void server_closeConnection();

#endif /*SERVER_H_*/
